<div class="bjui-pageContent">
    <form action="/admin/administration/workflow/flow-config-process-add" method="post" data-toggle="ajaxform"
          data-options="{closeCurrent:true, okAfterCallback:refreshFlowConfig}">
        <div class="bjui-row col-3">
            <input type="hidden" name="id" value="{{$id}}">
            <input type="hidden" name="oa_flow_config_id" value="{{$oa_flow_config_id}}">
            <label class="row-label" style="width: 150px">步骤名称</label>
            <div class="row-input required" style="width:240px">
                <input type="text" name="description" data-rule="required">
            </div>
            <br/>
            <label class="row-label" style="width: 150px">选择人员</label>
            <div class="row-input required" style="width:240px">
                @include('admin.widgets.address-list', [ 'findgrid_contacts_id' => 'operator_id' ])
            </div>
            <br>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">取消</button>
        </li>
        <li>
            <button type="submit" class="btn-default" data-icon="save">保存</button>
        </li>
    </ul>
</div>
<script>
    function refreshFlowConfig() {
        BJUI.navtab('refresh', 'flow-config');
    }
</script>
